package com.kaka.bus.engine.home.info.coupon.page;

import com.kaka.bus.bean.CouponBean;
import com.kaka.bus.bean.HttpWrapper;
import com.kaka.bus.mvp.BasePresenter;
import com.kaka.bus.mvp.BaseView;

import java.util.List;

/**
 * Created by zhangqi on 2017/12/25.
 * e-mail : ${email}
 * desc :
 */

public interface UnUseCouponContract {

    interface View extends BaseView{
        void onError();

        void onResultStart(HttpWrapper<List<CouponBean>> o);

        void onResultLoadMore(HttpWrapper<List<CouponBean>> o);
    }

    interface Presenter extends BasePresenter<View>{

        void initData(String userId, String token, int page, int pageSize,String type);

        void loadMore(String userId, String token, int page, int pageSize,String type);
    }
}
